TEMPLATE = lib
LANGUAGE = C++
CONFIG += qt
QT += sql
INCLUDEPATH += includes

include(../../paths.pri)
include(../../settings.pri)

isEqual(DEBUG, 1) {
    CONFIG += debug
}
else {
    CONFIG += release
}

MOC_DIR = ../../build/moc
OBJECTS_DIR = ../../build

target.path = $${LIBDIR}
data.path = $${INCLUDEDIR}
data.files += includes

DESTDIR = ../../lib
TARGET = niwbillmanager
INSTALLS += target data


HEADERS = includes/niwbillmanager.h \
          includes/backend.h \
          includes/billitem.h \
          includes/transaction.h \
          ../constants.h \
          backendmanager.h \
          datastore.h

SOURCES = niwbillmanager.cpp \
          backend.cpp \
          backendmanager.cpp \
          billitem.cpp \
          datastore.cpp \
          transaction.cpp \
          ../constants.cpp \

LIBS = -L../../backends -lbackend_plaintext
